S->season(
	year(
		N,
		league(
			league_name(
				N,
				division(
					division_name(
						N,
						team(
							team_city(
								N,
								team_name(
									N,
									player(
										A4,
										player(
											A4,
											player(
												A7,
												player(
													A4,
													player(
														A4,
														player(
															A7,
															player(
																A4,
																player(
																	A7,
																	player(
																		A7,
																		player(
																			A7,
																			player(
																				A7,
																				player(
																					A4,
																					player(
																						A4,
																						player(
																							A4,
																							player(
																								A4,
																								player(
																									A4,
																									player(
																										A4,
																										player(
																											A4,
																											player(
																												A4,
																												player(
																													A4,
																													player(A7,
																														player(A4,
																															player(A7,
																																player(A7,
																																	player(A4,
																																		player(A4,
																																			player(A4,
																																				player(A4,
																																					player(A7,
																																						player(
																																							A7,
																																							player(
																																								A7,
																																								player(A7,
																																									player(A7,
																																										player(A4,
																																											player(A7,
																																												player(A4,
																																													player(
																																														A7
																																													)
																																												)
																																											)
																																										)
																																									)
																																								)
																																							),
																																							team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7)))))))))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(A10(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A11(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7))))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(A13(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(A19(player(A7,(player(A7,(player(A7)6(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A7,(A9(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,4(player(A7))))))))))))))))))))),division(division_name(N,team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(A9(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7))))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(A11(A41(A11(player(A7,(player(A4,(player(A4,(player(A4))))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(A9(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4))))))))),team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(A9(A9(player(A4)))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(A9(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(A13(A11(player(A4)))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(A10(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,0(A11(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4)9(player(A4,(player(A4,(player(A7)))))))))))))))))))))),division(division_name(N,team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(A18(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(A10(player(A4)))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,4(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A7)))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(A13(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4)))))))))))))))))))))))),league(league_name(N,division(division_name(N,team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(A17(player(A4,(player(A4,(player(A4)))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7))))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(A17(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7)))))))),team(team_city(N,team_name(N,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(A9(A9(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(A13(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4)9(player(A4,(player(A4,(player(A7)))))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7))))))))))))))),division(division_name(N,team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(A9(player(A4,(player(A4,(player(A7,(player(A4,(player(A7)))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(A9(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(A8(player(A4)))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(A9(player(A4))))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7))))))))))))))))),team(team_city(N,team_name(N,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7)))))))))))))))))))),division(division_name(N,team(team_city(N,team_name(N,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(A10(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7)))))))),team(team_city(N,team_name(N,(player(A4)9(player(A7,(player(A7,(A9(player(A4,(player(A4,(A8(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4)1(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(A8(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(A10(player(A7)))))))))))))),team(team_city(N,team_name(N,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A7,(player(A7,(player(A7,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A7,(player(A4,(player(A4,(player(A7,(player(A7,(player(A7,(player(A4,(player(A7,(player(A4,(player(A7,(player(A4,(player(A4,(player(A4,(player(A4)))))))))))))))))))))))))))),N)
A4 -> number(N,surname(N,given_name(N,(POSITION(N,games(N,games_started(N,(AT_BATS(N,RUNS(N,HITS(N,DOUBLES(N,TRIPLES(N,HOME_RUNS(N,RBI(N,STEALS(N,CAUGHT_STEALING(N,SACRIFICE_HITS(N,SACRIFICE_FLIES(N,ERRORS(N,PB(N,WALKS(N,STRUCK_OUT(N,HIT_BY_PITCH)))))))))))))))))))
A7 -> number(N,surname(N,given_name(N,(THROWS(N,POSITION(N,WINS(N,LOSSES(N,SAVES(N,games(N,games_started(N,(COMPLETE_GAMES(N,SHUT_OUTS(N,ERA(N,INNINGS(N,HOME_RUNS(N,RUNS(N,EARNED_RUNS(N,HIT_BATTER(N,WILD_PITCHES(N,BALK(N,WALKED_BATTER(N,STRUCK_OUT_BATTER)))))))))))))))))))


